<?php

/**
 * Api Model 类
 * @author: 喵了个咪  <wenzhenxi@vip.qq.com> 2015-07-23
 */
class Model_Menu extends PhalApi_Model_NotORM {

    protected function getTableName($id) {

        return 'menu';
    }

    /**
     * 获取菜单列表
     */
    public function getmIdListByList($mIdList) {

        return $this->getORM()->select('mId,icon,url,name')->where('mId', $mIdList)->where('type', 1)->fetchAll();
    }
}
